package com.tuling.feign;
/**
 *@Type FeignController.java
 *@Desc
 *@Author wzw
 *@Date 2024/8/11 16:46
 */

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "order",path ="order")
public interface FeignController {
    @GetMapping("/reduceStock/{id}")
    void reduce(@PathVariable("id") String id);
}
